package com.phy.gsjl.form;

import java.sql.Timestamp;

/**
 * QueryForm类的作用是方便接收前台传的查询条件
 * @author curry
 *
 */
public class QueryForm {
	
	/**
	 * 查询的类型
	 */
	private Integer type;
	
	/**
	 * 模糊查询的内容
	 */
	private String indistinct;
	
	/**
	 * 开始时间
	 */
	private Timestamp beginTime;
	
	/**
	 * 结束时间
	 */
	private Timestamp endTime;

	public QueryForm() {

	}

	public QueryForm(Integer type, String indistinct, Timestamp beginTime, Timestamp endTime) {
		this.type = type;
		this.indistinct = indistinct;
		this.beginTime = beginTime;
		this.endTime = endTime;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getIndistinct() {
		return indistinct;
	}

	public void setIndistinct(String indistinct) {
		this.indistinct = indistinct;
	}

	public Timestamp getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(Timestamp beginTime) {
		this.beginTime = beginTime;
	}

	public Timestamp getEndTime() {
		return endTime;
	}

	public void setEndTime(Timestamp endTime) {
		this.endTime = endTime;
	}

	@Override
	public String toString() {
		return "QueryForm [type=" + type + ", indistinct=" + indistinct + ", beginTime=" + beginTime + ", endTime="
				+ endTime + "]";
	}
	
}
